home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / BUS / DynRisk 68k 4.01 demo.sit / DynRisk-Help.rsrc / TEXT_6523.txt < prev    next >
Text File  |  1996-08-30  |  1KB  |  18 lines

  1. Thresh2
  2.  
  3. A double threshold function. When you use this function, you define two threshold values, and enter these into the 窶彭窶 and the 窶彳窶 fields. It is not necessary to enter the thresholds in a particular order. To avoid confusion, however, we recommend that you let 窶彭窶 be the smaller threshold and 窶彳窶 be the larger threshold. 
  4.  
  5. If the input value is greater than or equal to the larger threshold, the output value is equal to the 窶彗窶 parameter. If the input value is less than the larger threshold and greater than or equal to the smaller threshold value, the output value is equal to the 窶彙窶 parameter. If the input value is less than both the threshold values, the output value is equal to the 窶彡窶 parameter.
  6.  
  7. Note that the 窶彗窶 parameter does not need to be greater than the 窶彙窶 or the 窶彡窶 parameters. Moreover, the 窶彙窶 parameter does not have to be greater than the 窶彡窶 parameter.
  8.  
  9. Default parameter values:
  10.     a = 1, b = 0.5, c = 0, d = 0.5, e = 1
  11.  
  12. Example:
  13.     a = 10, b = 5, c = 0, d = 2, e = 8
  14.  
  15.     Input = 1  =>  Output = 0
  16.     Input = 5  =>  Output = 5
  17.     Input = 9  =>  Output = 10
  18.